package com.mq.service.impl;

import com.mq.Mapper.FlightMapper;
import com.mq.service.FlightService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class FlightServiceImpl implements FlightService {
    @Autowired
    FlightMapper flightMapper;
    @Override
    public List<Map<String, Object>> getFlightsList(String Destination) {
        return flightMapper.getFlightsList(Destination);
    }

}
